home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
mintprgs
/
mintupgr
/
disk7.zoo
/
elvis.zoo
/
usr
/
doc
/
elvis
/
intro.doc
< prev
next >
Wrap
Text File
|
1992-08-12
|
2KB
|
67 lines
_1. _I_N_T_R_O_D_U_C_T_I_O_N
Elvis is a clone of vi/ex, the standard UNIX editor.
Elvis supports nearly all of the vi/ex commands, in both
visual mode and colon mode.
Like vi/ex, Elvis stores most of the text in a tem-
porary file, instead of RAM. This allows it to edit files
that are too large to fit in a single process' data space.
Also, the edit buffer can survive a power failure or crash.
Elvis runs under BSD UNIX, AT&T SysV UNIX, Minix, MS-
DOS, Atari TOS, Coherent, OS9/68000, VMS and AmigaDos. The
next version is also expected to add MS-Windows, OS/2 and
MacOS. Contact me before you start porting it to some other
OS, because somebody else may have already done it for you.
Elvis is freely redistributable, in either source form
or executable form. There are no restrictions on how you
may use it.
_1._1. _C_o_m_p_i_l_i_n_g
See the "Versions" section of this manual for instruc-
tions on how to compile Elvis.
If you want to port Elvis to another O.S. or compiler,
then you should start be reading the "Portability" part of
the "Internal" section.
_1._2. _O_v_e_r_v_i_e_w _o_f _E_l_v_i_s
The user interface of Elvis/vi/ex is weird. There are
two major command modes in Elvis, and a few text input modes
as well. Each command mode has a command which allows you
to switch to the other mode.
You will probably use the _v_i_s_u_a_l _c_o_m_m_a_n_d _m_o_d_e most of
the time. This is the mode that Elvis normally starts up
in.
In visual command mode, the entire screen is filled
with lines of text from your file. Each keystroke is inter-
pretted as part of a visual command. If you start typing
text, it will _n_o_t be inserted, it will be treated as part of
a command. To insert text, you must first give an "insert
text" command. This will take some getting used to. (An
alternative exists. Lookup the "inputmode" option.)
The _c_o_l_o_n _m_o_d_e is quite different. Elvis displays a
":" character on the bottom line of the screen, as a prompt.
You are then expected to type in a command line and hit the
<Return> key. The set of commands recognized in the colon
mode is different from visual mode's.
August 10, 1992